/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package assignment1;

/**
 * McChicken Class:
 * This class extends the Product Class, and is used to create instances of the Product "McChicken Burger"
 * @author Vale
 *
 */
public class McChicken extends Burger {

    private final String SAUCE_NAME = "Mayonaise";

    /**
     * void makeBurger() Method:
     * Makes Burger "McChicken" from required inventory items, and adds them to the inventory List for the burger
     *
     */
    public void makeBurger() {
        ChickenPatty chickenPatty = new ChickenPatty();
        chickenPatty.setInvAmount(1);
        Buns buns = new Buns();
        buns.setInvAmount(2);
        Sauce sauce = new Sauce();
        sauce.setInvAmount(1);
        sauce.setInvName(SAUCE_NAME);
        Lettuce lettuce = new Lettuce();
        lettuce.setInvAmount(1);
        this.getInventList().add(buns);
        this.getInventList().add(sauce);
        this.getInventList().add(chickenPatty);
        this.getInventList().add(lettuce);
    }
}
